/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bgu.ppm.sim.api.stat;

import java.io.Closeable;

/**
 *
 * @author User
 */
public interface StatisticsDatabase extends Closeable {

    <K, V> PersistentMap<K, V> getPersistentMap(Class<? extends StatisticCollector> collector);

    <K, V> PersistentMap<K, V> registerPersistentMap(Class<? extends StatisticCollector> collector, Class<K> keyType, Class<V> valueType);

    String[] getPersistentMapNames();
}
